class Clock:
    id = None
    price = None

    def ring(self):
        import winsound
        winsound.Beep(800, 500)  # 响铃，好好玩


clock_1 = Clock()
clock_1.id = 1
clock_1.price = 100
print(f'clock_1 ID: {clock_1.id}')
clock_1.ring()
